<?php
declare(strict_types = 1);
namespace App\Controller\Api;

use Hyperf\HttpServer\Contract\RequestInterface;
use Hyperf\HttpServer\Annotation\Controller;
use Hyperf\HttpServer\Annotation\RequestMapping;
use App\Controller\AbstractController;
use App\Service\PssService\TripartitePlatformService;

/**
 * @Controller(prefix="/TripartitePlatform")
 * 三方渠道公共授权中心
 */
class TripartitePlatformController extends AbstractController
{

    /**
     * 批量获取三方渠道平台列表
     * @RequestMapping(path="QueryTripartitePlatformList", methods="POST")
     *
     * @return string[]
     */
    public function QueryTripartitePlatformList(RequestInterface $request, TripartitePlatformService $TripartitePlatformService)
    {
        return $TripartitePlatformService->QueryTripartitePlatformList($request->getParsedBody());
    }
}
